pkgname=uperf
pkgver=git
pkgrel=1
arch=('i386' 'x86_64' 'aarch64')
license=('GPL')
source=("https://github.com/uperf/uperf.git")
sha256sums=('SKIP')

build() {
	cd "$srcdir/$pkgname" || return
	autoreconf --install && ./configure && make
}

package() {
	mkdir -p "${pkgdir}/lkp/benchmarks/${pkgname}"
	cd "$srcdir/$pkgname" || return
	make install DESTDIR="${pkgdir}/lkp/benchmarks/${pkgname}"
}
